/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-10-30 15:36:22   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import io.swagger.annotations.ApiModelProperty;

import java.time.OffsetDateTime;

import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.model.BasicDomain;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

/**
 * 
 * zx_order_log-订单日志表
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class OrderLog extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	 private Long id;
	/**
	 * 订单主键
	 */
	@ApiModelProperty(value = "订单主键")
	 private Long orderId;
	/**
	 * 1借款订单，2还款订单
	 */
	@ApiModelProperty(value = "1借款订单，2还款订单")
	 private Integer orderType;
	/**
	 * 修改订单人主键
	 */
	@ApiModelProperty(value = "修改订单人主键")
	 private Long updateUserId;
	/**
	 * 修改订单人
	 */
	@ApiModelProperty(value = "修改订单人")
	 private String updateUsername;
	/**
	 * 操作内容
	 */
	@ApiModelProperty(value = "操作内容")
	 private String opContent;
    
    public OrderLog(){
    
    }
    
    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    public Long getOrderId() {
        return this.orderId;
    }
    
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public Integer getOrderType() {
        return this.orderType;
    }
    
    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }
    public Long getUpdateUserId() {
        return this.updateUserId;
    }
    
    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }
    public String getUpdateUsername() {
        return this.updateUsername;
    }
    
    public void setUpdateUsername(String updateUsername) {
        this.updateUsername = updateUsername;
    }
    public String getOpContent() {
        return this.opContent;
    }
    
    public void setOpContent(String opContent) {
        this.opContent = opContent;
    }
    
    /**
	 * 记录数据生成时间
	 */
	@ApiModelProperty(value = "记录数据生成时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime createTime;
	
	   public OffsetDateTime getCreateTime() {
	        return this.createTime;
	    }
	    
	    public void setCreateTime(OffsetDateTime createTime) {
	        this.createTime = createTime;
	    }
}
